<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.util.*" errorPage="/error.jsp" %>
<%@ page import="com.config.SystemGlobals" %>
<%@ page import="com.beans.music.*" %>
<%@ page import="com.business.music.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>试听音乐</title>
</head>
<%		String musicNo=request.getPathInfo();
		    musicNo=musicNo.replace(".html","");
    musicNo=musicNo.replace("/","");
	MusicListBus mlb=new MusicListBus();
	MusicInfo mi=mlb.getMusicByNo(musicNo);

	String path = request.getContextPath();
  	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
%>
<body>
<br>
<P align=center><EMBED name=Player34 pluginspage=http://www.microsoft.com/windows/mediaplayer/download/default.asp src=<%=basePath+mi.getMusicUrl()%> width=200 height=50 type=application/x-mplayer2 showstatusbar="-1" AutoStart="-1" PlayCount="0" clicktoplay="-1" ></P></EMBED>
</body>
</html>
